package com.azusa.ktc_spit.entity;

import org.springframework.data.mongodb.core.mapping.Document;

@Document
public class Thumbup {
    private String id;
    private String userId;
    private String spitId;

    public Thumbup() {
    }

    public Thumbup(String id, String userId, String spitId) {
        this.id = id;
        this.userId = userId;
        this.spitId = spitId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSpitId() {
        return spitId;
    }

    public void setSpitId(String spitId) {
        this.spitId = spitId;
    }

    @Override
    public String toString() {
        return "Thumbup{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", spitId='" + spitId + '\'' +
                '}';
    }
}
